package cn.ruihusoft.ql.client;

import cn.ruihusoft.ql.pojo.Response;
import cn.ruihusoft.ql.pojo.logs.ListLogsResponse;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Var;

public interface LogClient extends BaseAuthClient {

    @Get("/logs")
    Response<ListLogsResponse> logsList();

    @Get("/logs/{dir}/{file}")
    Response<String> logDetail(@Var("dir") String dir, @Var("file") String file);

    @Get("/logs/{file}")
    Response<String> logDetail(@Var("file") String file);
}
